image.pngpackage com.demo.demospringboot.dto;

/**
 * 用户注册请求DTO
 */
public class RegisterRequest {

  private String username;
  private String password;
  private String confirmPassword;
  private String email;
  private String name;
  private Integer age;

  public RegisterRequest() {
  }

  public RegisterRequest(String username, String password, String email, String name, Integer age) {
    this.username = username;
    this.password = password;
    this.email = email;
    this.name = name;
    this.age = age;
  }

  public String getUsername() {
    return username;
  }

  public void setUsername(String username) {
    this.username = username;
  }

  public String getPassword() {
    return password;
  }

  public void setPassword(String password) {
    this.password = password;
  }

  public String getConfirmPassword() {
    return confirmPassword;
  }

  public void setConfirmPassword(String confirmPassword) {
    this.confirmPassword = confirmPassword;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public Integer getAge() {
    return age;
  }

  public void setAge(Integer age) {
    this.age = age;
  }
}